<?php

	session_start();
	include("../include/connexionBDD.php");
	$mail=$_POST["mail"];
	//echo $mail;
	$requete="SELECT * FROM demandeurs WHERE MAIL='".$mail."';";
	$result=mysql_query($requete);
	$nb=mysql_num_rows($result);
	//echo $result;
	if($nb!=0)
	//Si elle existe déja, erreur
	{
		echo false;
	}
	//Sinon, on passe
	else
		echo true;
	
?>